<?php

namespace app\common\model;

use think\Model;
use lib\Tool;

class Category extends Model
{
    public function _list(){
        $list = $this->select();
        return Tool::tree($list);
    }

}
